﻿using Domain.Models;
using System;
using System.Collections.Generic;

namespace Domain.SeedData
{
    public class InitRole
    {
        public static IEnumerable<Role> InitData()
        {
            return new List<Role>
            {
                new Role
                {
                    Id = 1,
                    RoleName = "Administrator",
                    Description = "系统管理员",
                     CreateBy = "System",
                    CreateTime = DateTime.Now,
                    UpdateBy = "System",
                    UpdateTime = DateTime.Now,
                },

                new Role
                {
                    Id = 2,
                    RoleName = "Default",
                    Description = "默认用户权限",
                     CreateBy = "System",
                    CreateTime = DateTime.Now,
                    UpdateBy = "System",
                    UpdateTime = DateTime.Now,
                }
            };
        }
    }
}
